import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.annotation.Excel;
import org.junit.Test;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

public class myTest {
    @Test
    public void aaa() {
        for (int i=1; i<=53; i++) {
            System.out.println("@Excel(name = \"第" + i + "周\")");
            System.out.println("public BigDecimal week" + i + ";");
            System.out.println();
        }
//        @Excel(name = "第16周")
//        public BigDecimal week16;
    }
    @Test
    public void bbb() {
        for (int i=1; i<=12; i++) {
            System.out.println("@Excel(name = \"" + i + "月\")");
            System.out.println("private String month" + i + ";");
            System.out.println();
        }
//        @Excel(name = "1月")
//    private String month1;
    }
    @Test
    public void jun() {
        System.out.println("初始化加载 卡口");
        Map<String, Map<String, Map<String, String>>> tollgateMap = new HashMap<>();
        Map<String, Map<String, String>> FangXianMap = new HashMap<>();
        Map<String, String> KaKouMap = new HashMap<>();
        tollgateMap.put("河北", FangXianMap);
        FangXianMap.put("第一道防线", KaKouMap);
        KaKouMap.put("国省道中途", "123");

        System.out.println(JSONObject.toJSONString(tollgateMap));
    }
}
